ef_smoke

Built in constant for a smoke effect.

语法:

ef_smoke;


返回: N/A


描述

This constant is for use in the functions effect_create_above and effect_create_below, and will create a smoke effect as illustrated in the image below:




例如:

if speed > 0
   {
   effect_create_below(ef_smoke, x, y, choose(0, 1, 2), c_gray);
   }

The above code will create a smoke trail from the instance when the speed is greater than 0.


上一页: Simple Effects
下一页: ef_smokeup
© Copyright YoYo Games Ltd. 2018 All Rights Reserved